<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div>

        <#if user??>
        ${user.name}
        <a href="/admin/reglogin/logout">logout</a>

        <#else>
        <a href="/admin/reglogin">login / register</a>
    </#if>
    </div>
</body>
</html>